Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@buzuli/http
Advanced tools
Utils for parsing and formatting HTTP data.
const {
codeInfo,
codes,
codesSource,
color
} = require('@buzuli/http').status
Code info record based on the supplied status code if found, else undefined
.
List of all status codes. The included fields are:
code
: the numeric codedescription
: short decription of the status codeunofficial
: true
if not this is not an official status codeThe URL of the source of the full status code listing.
Color status codes based on value.
console.info(color(code))
const {
coerce,
color,
parse
} = require('@buzuli/http').url
Attempt to parse a string as a URL (more lenient than parse(url)
).
const { host, port, ...rest } = coerce(uri)
console.info(`${host}:${port}`)
Make a colorful URL applying unique colors to each component.
console.info(color(uri))
Parses a URL applying strict requirements (must have both protocol and host).
FAQs
HTTP utils for parsing and formatting
We found that @buzuli/http demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.